libxenguest: Remove unused static inline function is_loadable_phdr()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Sep 2009 15:15:05 +0000 (16:15 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Sep 2009 15:15:05 +0000 (16:15 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/libxc/xc_hvm_build.c

index e20f5ac862866ef8e86b5d87fac11b65bfa4d6f4..c460d97e17433568667f4ecd91700d588ef9eaa9 100644 (file)
@@ -342,12 +342,6 @@ static int xc_hvm_build_internal(int xc_handle,
     return setup_guest(xc_handle, domid, memsize, target, image, image_size);
 }
 
-static inline int is_loadable_phdr(Elf32_Phdr *phdr)
-{
-    return ((phdr->p_type == PT_LOAD) &&
-            ((phdr->p_flags & (PF_W|PF_X)) != 0));
-}
-
 /* xc_hvm_build:
  * Create a domain for a virtualized Linux, using files/filenames.
  */